<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Courses</title>
</head>
<body>
<h2> Course Details here </h2>
<!-- <a href="addNewBatch.action">Add New Batch</a> -->
<a href="addCourse">Add New Entry</a>
<table>
<tr>
<s:iterator value="course_list">
<tr>
<td><s:property value="course_id"/></td>
<td><s:property value="course_name"/></td>
<td><a href="editCourseDetails.action?course_id=<s:property value="course_id"/>">Edit</a></td>
<td><a href="deleteCourseDetails.action?course_id=<s:property value="course_id"/>">Delete</a></td>
<td><a href="getCourseProfessorDetails.action?course_id=<s:property value="course_id"/>">Professors</a></td>
<td></td>
<td></td>
</tr>
</s:iterator>
</tr>
</table>
</body>
</html>